import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import request from '@/util/request'
import moment from 'moment'
import './assets/gloable.css'

Vue.prototype.$moment = moment
Vue.use(ElementUI)
Vue.prototype.$axios = axios
Vue.prototype.request = request
Vue.use(ElementUI, { size: 'mini' })
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate () {
    Vue.prototype.$bus = this // 安装全局事件总线
  }
}).$mount('#app')
